package com.tarena.lbs.content.service;

import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.content.pojo.param.ArticleCategoryParam;
import com.tarena.lbs.content.pojo.query.ArticleCategoryQuery;
import com.tarena.lbs.content.pojo.vo.ArticleCategoryVO;
import org.springframework.stereotype.Service;


public interface CategoryService {

    PageResult<ArticleCategoryVO> pageList(ArticleCategoryQuery query);

    Result<Void> addCategory(ArticleCategoryParam param);

    Result<Void> updateCategory(ArticleCategoryParam param);

    Result<Void> deleteCategory(Integer id);

    //PageResult<ArticleCategoryVO> pageList();
}
